function [fitness] = F1(X,dim)
    fitness=0;
    for i=1:dim
        fitness = fitness + X(i);
    end
end